package com.yunhan.redis;


/**
 * 缓存时间
 */
public interface CacheTime {

    interface Second {
        long SECOND_5 = 5;
        long SECOND_10 = 10;
        long SECOND_20 = 20;
    }

    interface Minute {
        long MINUTE_1 = 1;
        long MINUTE_2 = 2;
        long MINUTE_3 = 3;
        long MINUTE_4 = 4;
        long MINUTE_5 = 5;
        long MINUTE_10 = 10;
        long MINUTE_15 = 15;
        long MINUTE_30 = 30;
        long MINUTE_300 = 300;
        long MINUTE_600 = 600;
    }

    interface Hour {
        long HOUR_1 = 1;
        long HOUR_2 = 2;
        long HOUR_3 = 3;
        long HOUR_5 = 5;
        long HOUR_8 = 8;
        long HOUR_12 = 12;
    }

    interface Day {
        long DAY_1 = 1;
        long DAY_2 = 2;
        long DAY_3 = 3;
        long DAY_5 = 5;
        long DAY_7 = 7;
        long DAY_15 = 15;
        long DAY_30 = 30;
        long DAY_60 = 60;
    }
}
